using DevExpress.XtraEditors;
using DevExpress.XtraNavBar;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace NoteManger
{
	public class FrmPurviewMange : Form
	{
		private string LastUserID = "";
		private NoteRemote _NoteRemoteObject = null;
		private TLoginInfo _LoginInfo = new TLoginInfo();
		private IContainer components = null;
		private ImageList imageList;
		private System.Windows.Forms.ComboBox cbbPurviewID;
		private ContextMenuStrip contextMenuStrip;
		private ToolStripMenuItem pmGroupByRyfl;
		private ToolStripMenuItem pmGroupByJs;
		private SplitContainerControl splitContainerControl1;
		private NavBarControl navBarControl;
		private NavBarGroup navBarGroup1;
		private NavBarGroupControlContainer navBarGroupControlContainer1;
		private Button btnSetRole;
		private System.Windows.Forms.ComboBox cbbPurviewName;
		private NavBarGroupControlContainer navBarGroupControlContainer2;
		private Button btnChange;
		private Button btnUserStop;
		private NavBarGroupControlContainer navBarGroupControlContainer3;
		private Button btnChangeUserName;
		private Label label2;
		private TextBox tboxnewname;
		private NavBarGroupControlContainer navBarGroupControlContainer4;
		private Button btnupdate;
		private Label label4;
		private TextBox tboxemail;
		private NavBarGroupControlContainer navBarGroupControlContainer5;
		private Button btnsetryfl;
		private System.Windows.Forms.ComboBox cbbrytype;
		private NavBarGroup navBarGroup2;
		private NavBarGroup navBarGroup3;
		private NavBarGroup navBarGroup4;
		private NavBarGroup navBarGroup5;
		private ListView listViewPurview;
		private Label label3;
		private Label label1;
		private System.Windows.Forms.ComboBox cbbSex;
		private Label label9;
		private TextBox tboxPhone;
		private Label label10;
		private TextBox tboxExPhone;
		private Label label13;
		private TextBox tboxQq;
		private Label label12;
		private TextBox tboxMsn;
		private Label label11;
		private Label label8;
		private NavBarGroupControlContainer navBarGroupControlContainer6;
		private Button btnSetAuto;
		private System.Windows.Forms.ComboBox cbbAutoVsts;
		private NavBarGroup navBarGroup6;
		private NavBarGroupControlContainer navBarGroupControlContainer7;
		private Label label5;
		private Button btnUpDateShr;
		private NavBarGroup navBarGroup7;
		private System.Windows.Forms.ComboBox cbbAllUsers;
		public NoteRemote NoteRemoteObject
		{
			set
			{
				this._NoteRemoteObject = value;
			}
		}
		public TLoginInfo LoginInfo
		{
			set
			{
				this._LoginInfo = value;
			}
		}
		public FrmPurviewMange()
		{
			this.InitializeComponent();
		}
		private void CreateColumn()
		{
			ColumnHeader columnHeader = new ColumnHeader();
			columnHeader.Text = "用户ID";
			columnHeader.Width = 65;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "用户名称";
			columnHeader.Width = 70;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "部门ID";
			columnHeader.Width = 0;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "部门名称";
			columnHeader.Width = 80;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "组ID";
			columnHeader.Width = 0;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "组名称";
			columnHeader.Width = 100;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "角色ID";
			columnHeader.Width = 0;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "角色名称";
			columnHeader.Width = 70;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "人员分类";
			columnHeader.Width = 85;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "邮件地址";
			columnHeader.Width = 140;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "性别";
			columnHeader.Width = 60;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "手机";
			columnHeader.Width = 80;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "分机";
			columnHeader.Width = 60;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "QQ";
			columnHeader.Width = 75;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "MSN";
			columnHeader.Width = 100;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "自动生成日志";
			columnHeader.Width = 85;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
			columnHeader = new ColumnHeader();
			columnHeader.Text = "日志审核人";
			columnHeader.Width = 80;
			columnHeader.TextAlign = HorizontalAlignment.Left;
			this.listViewPurview.Columns.Add(columnHeader);
		}
		private void GetUserListFromRemoteServer()
		{
			this.listViewPurview.Items.Clear();
			if (this._NoteRemoteObject != null)
			{
				try
				{
					if (!this._NoteRemoteObject.ConnectionTest())
					{
						MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					return;
				}
				string[,] array = new string[0, 0];
				string[,] array2 = new string[0, 0];
				string text = "";
				bool flag = false;
				try
				{
					flag = this._NoteRemoteObject.GetUserList(this._LoginInfo.LoginID, this._LoginInfo.DepID, this._LoginInfo.GroupID, this._LoginInfo.PurviewID, ref array, ref text);
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				}
				if (flag)
				{
					int num = array.GetUpperBound(0) - array.GetLowerBound(0) + 1;
					this.cbbAllUsers.Items.Clear();
					for (int i = 0; i < num; i++)
					{
						ListViewItem listViewItem = new ListViewItem();
						listViewItem.Text = array[i, 0];
						if (this.LastUserID.Trim() != "")
						{
							if (listViewItem.Text == this.LastUserID.Trim())
							{
								listViewItem.Selected = true;
							}
						}
						this.cbbAllUsers.Items.Add(array[i, 0] + " - " + array[i, 1]);
						listViewItem.SubItems.Add(array[i, 1]);
						listViewItem.SubItems.Add(array[i, 2]);
						listViewItem.SubItems.Add(array[i, 3]);
						listViewItem.SubItems.Add(array[i, 4]);
						listViewItem.SubItems.Add(array[i, 5]);
						listViewItem.SubItems.Add(array[i, 6]);
						listViewItem.SubItems.Add(array[i, 7]);
						listViewItem.SubItems.Add(array[i, 8]);
						if (array[i, 6] == "0")
						{
							listViewItem.ForeColor = System.Drawing.Color.Red;
						}
						listViewItem.SubItems.Add(array[i, 9]);
						listViewItem.SubItems.Add(array[i, 10]);
						listViewItem.SubItems.Add(array[i, 11]);
						listViewItem.SubItems.Add(array[i, 12]);
						listViewItem.SubItems.Add(array[i, 13]);
						listViewItem.SubItems.Add(array[i, 14]);
						listViewItem.SubItems.Add(array[i, 15]);
						listViewItem.SubItems.Add(array[i, 16]);
						listViewItem.ImageIndex = 0;
						this.listViewPurview.Items.Add(listViewItem);
					}
					if (this.pmGroupByRyfl.Checked)
					{
						this.pmGroupByRyfl_Click(null, null);
					}
					if (this.pmGroupByJs.Checked)
					{
						this.pmGroupByJs_Click(null, null);
					}
				}
				else
				{
					MessageBox.Show(text, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				}
			}
		}
		private void FrmPurviewMange_Load(object sender, EventArgs e)
		{
			this.CreateColumn();
			this.GetUserListFromRemoteServer();
		}
		private void btnSet_Click(object sender, EventArgs e)
		{
			if (this.cbbPurviewName.CanFocus)
			{
				this.cbbPurviewName.Focus();
			}
			int selectedIndex = this.cbbPurviewName.SelectedIndex;
			if (selectedIndex != -1)
			{
				try
				{
					if (!this._NoteRemoteObject.ConnectionTest())
					{
						MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					return;
				}
				string aPurviewID = this.cbbPurviewID.Items[selectedIndex].ToString();
				int num = 0;
				int num2 = 0;
				for (int i = 0; i < this.listViewPurview.SelectedItems.Count; i++)
				{
					string text = this.listViewPurview.SelectedItems[i].Text;
					string text2 = "";
					bool flag = false;
					try
					{
						flag = this._NoteRemoteObject.SetUserPurview(text, aPurviewID, ref text2);
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					if (!flag)
					{
						num++;
						MessageBox.Show(text2, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					else
					{
						num2++;
						MessageBox.Show("用户角色设置成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
				}
				this.btnSetRole.Enabled = false;
				this.btnUserStop.Enabled = false;
				this.GetUserListFromRemoteServer();
			}
		}
		private void listViewPurview_SelectedIndexChanged(object sender, EventArgs e)
		{
			this.btnSetRole.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnUserStop.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnChange.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnChangeUserName.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnsetryfl.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnupdate.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnSetAuto.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			this.btnUpDateShr.Enabled = (this.listViewPurview.SelectedItems.Count != 0);
			if (this.listViewPurview.SelectedItems.Count != 0)
			{
				this.LastUserID = this.listViewPurview.SelectedItems[0].Text;
			}
			if (this.listViewPurview.SelectedItems.Count != 0)
			{
				string text = this.listViewPurview.SelectedItems[0].SubItems[9].Text;
				if (text.Trim() != "")
				{
					text = text.Substring(0, text.IndexOf("@"));
				}
				this.tboxemail.Text = text;
				this.cbbSex.SelectedIndex = this.cbbSex.Items.IndexOf(this.listViewPurview.SelectedItems[0].SubItems[10].Text);
				this.tboxPhone.Text = this.listViewPurview.SelectedItems[0].SubItems[11].Text;
				this.tboxExPhone.Text = this.listViewPurview.SelectedItems[0].SubItems[12].Text;
				this.tboxQq.Text = this.listViewPurview.SelectedItems[0].SubItems[13].Text;
				this.tboxMsn.Text = this.listViewPurview.SelectedItems[0].SubItems[14].Text;
				this.Text = "用户基本信息维护 - [" + this.listViewPurview.SelectedItems[0].SubItems[1].Text + "]";
			}
			else
			{
				this.tboxemail.Text = "";
				this.cbbSex.SelectedIndex = -1;
				this.tboxPhone.Text = "";
				this.tboxExPhone.Text = "";
				this.tboxQq.Text = "";
				this.tboxMsn.Text = "";
			}
		}
		private void btnClose_Click(object sender, EventArgs e)
		{
			base.Close();
		}
		private void btnUserStop_Click(object sender, EventArgs e)
		{
			if (this.listViewPurview.SelectedItems.Count == 1)
			{
				string text = this.listViewPurview.SelectedItems[0].Text;
				string text2 = this.listViewPurview.SelectedItems[0].SubItems[1].Text;
				if (MessageBox.Show(string.Concat(new string[]
				{
					"确定要停用[",
					text,
					",",
					text2,
					"]吗？停用成功后此用户将无权登录，并且其所属日志亦会被置为无效状态！"
				}), "询问", MessageBoxButtons.YesNo, MessageBoxIcon.Asterisk) != DialogResult.No)
				{
					try
					{
						if (!this._NoteRemoteObject.ConnectionTest())
						{
							MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							return;
						}
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
					string text3 = "";
					bool flag = false;
					try
					{
						flag = this._NoteRemoteObject.SetUserState(text, ref text3);
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					if (!flag)
					{
						MessageBox.Show(text3, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					else
					{
						MessageBox.Show("用户停用成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					this.btnSetRole.Enabled = false;
					this.btnUserStop.Enabled = false;
					this.GetUserListFromRemoteServer();
				}
			}
		}
		private void btnChange_Click(object sender, EventArgs e)
		{
			if (this.listViewPurview.SelectedItems.Count == 1)
			{
				string text = this.listViewPurview.SelectedItems[0].Text;
				string text2 = this.listViewPurview.SelectedItems[0].SubItems[1].Text;
				string text3 = this.listViewPurview.SelectedItems[0].SubItems[2].Text;
				try
				{
					if (!this._NoteRemoteObject.ConnectionTest())
					{
						MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					return;
				}
				FrmChangeGroup frmChangeGroup = new FrmChangeGroup();
				frmChangeGroup.LoginInfo = this._LoginInfo;
				frmChangeGroup._DepID = text3;
				frmChangeGroup._UserID = text;
				frmChangeGroup._UserName = text2;
				frmChangeGroup.NoteRemoteObject = this._NoteRemoteObject;
				frmChangeGroup.ShowDialog();
				frmChangeGroup.Dispose();
				this.GetUserListFromRemoteServer();
			}
		}
		private void btnchangename_Click(object sender, EventArgs e)
		{
			if (this.listViewPurview.SelectedItems.Count == 1)
			{
				string text = this.listViewPurview.SelectedItems[0].Text;
				if (this.tboxnewname.Text.Trim() == "")
				{
					MessageBox.Show("新名称不能为空！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					this.tboxnewname.Focus();
				}
				else
				{
					try
					{
						if (!this._NoteRemoteObject.ConnectionTest())
						{
							MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							return;
						}
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
					string[,] array = new string[0, 0];
					string str = "";
					if (!this._NoteRemoteObject.CommonQuery(string.Concat(new string[]
					{
						"exec usp_wn_changename '",
						text,
						"','",
						this.tboxnewname.Text.Trim(),
						"'"
					}), ref array, ref str))
					{
						MessageBox.Show("用户改名失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					else
					{
						if (array[0, 0] == "T")
						{
							MessageBox.Show("用户改名成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							this.GetUserListFromRemoteServer();
						}
						else
						{
							MessageBox.Show("用户改名失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						}
					}
				}
			}
		}
		private void btnsetryfl_Click(object sender, EventArgs e)
		{
			if (this.cbbrytype.SelectedIndex <= -1)
			{
				MessageBox.Show("未选择人员分类！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.cbbrytype.Focus();
			}
			else
			{
				if (this.listViewPurview.SelectedItems.Count == 1)
				{
					string text = this.listViewPurview.SelectedItems[0].Text;
					try
					{
						if (!this._NoteRemoteObject.ConnectionTest())
						{
							MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							return;
						}
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
					string[,] array = new string[0, 0];
					string str = "";
					if (!this._NoteRemoteObject.CommonQuery(string.Concat(new string[]
					{
						"exec usp_wn_setryfl '",
						text,
						"','",
						this.cbbrytype.SelectedIndex.ToString(),
						"'"
					}), ref array, ref str))
					{
						MessageBox.Show("人员分类修改失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					else
					{
						if (array[0, 0] == "T")
						{
							MessageBox.Show("人员分类修改成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							this.GetUserListFromRemoteServer();
						}
						else
						{
							MessageBox.Show("人员分类修改失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						}
					}
				}
			}
		}
		private void pmGroupByRyfl_Click(object sender, EventArgs e)
		{
			if (this.listViewPurview.Items.Count != 0)
			{
				this.pmGroupByJs.Checked = false;
				this.pmGroupByRyfl.Checked = true;
				this.listViewPurview.Groups.Clear();
				ListViewGroup group = new ListViewGroup("管理人员");
				this.listViewPurview.Groups.Add(group);
				group = new ListViewGroup("普通开发人员");
				this.listViewPurview.Groups.Add(group);
				for (int i = 0; i < this.listViewPurview.Items.Count; i++)
				{
					ListViewItem listViewItem = this.listViewPurview.Items[i];
					if (listViewItem.SubItems[8].Text == "管理人员")
					{
						listViewItem.Group = this.listViewPurview.Groups[0];
					}
					else
					{
						listViewItem.Group = this.listViewPurview.Groups[1];
					}
				}
			}
		}
		private void pmGroupByJs_Click(object sender, EventArgs e)
		{
			if (this.listViewPurview.Items.Count != 0)
			{
				this.pmGroupByJs.Checked = true;
				this.pmGroupByRyfl.Checked = false;
				this.listViewPurview.Groups.Clear();
				ListViewGroup group = new ListViewGroup("部门经理");
				this.listViewPurview.Groups.Add(group);
				group = new ListViewGroup("组管理员");
				this.listViewPurview.Groups.Add(group);
				group = new ListViewGroup("日志特别管理员");
				this.listViewPurview.Groups.Add(group);
				group = new ListViewGroup("一般用户");
				this.listViewPurview.Groups.Add(group);
				group = new ListViewGroup("超级用户");
				this.listViewPurview.Groups.Add(group);
				for (int i = 0; i < this.listViewPurview.Items.Count; i++)
				{
					ListViewItem listViewItem = this.listViewPurview.Items[i];
					if (listViewItem.SubItems[7].Text == "超级用户")
					{
						listViewItem.Group = this.listViewPurview.Groups[4];
					}
					else
					{
						if (listViewItem.SubItems[7].Text == "组管理员")
						{
							listViewItem.Group = this.listViewPurview.Groups[1];
						}
						else
						{
							if (listViewItem.SubItems[7].Text == "一般用户")
							{
								listViewItem.Group = this.listViewPurview.Groups[3];
							}
							else
							{
								if (listViewItem.SubItems[7].Text == "日志特别管理员")
								{
									listViewItem.Group = this.listViewPurview.Groups[2];
								}
								else
								{
									if (listViewItem.SubItems[7].Text == "部门经理")
									{
										listViewItem.Group = this.listViewPurview.Groups[0];
									}
								}
							}
						}
					}
				}
			}
		}
		private void btnupdate_Click(object sender, EventArgs e)
		{
			if (this.listViewPurview.SelectedItems.Count == 1)
			{
				string text = this.listViewPurview.SelectedItems[0].Text;
				try
				{
					if (!this._NoteRemoteObject.ConnectionTest())
					{
						MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
				}
				catch (Exception ex)
				{
					MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					return;
				}
				string[,] array = new string[0, 0];
				string str = "";
				string aStrSql = string.Concat(new string[]
				{
					"exec usp_wn_userexpandinfo '",
					text.Trim(),
					"','",
					this.tboxemail.Text.Trim(),
					"@winning.com.cn','",
					this.cbbSex.Text,
					"','",
					this.tboxPhone.Text.Trim(),
					"','",
					this.tboxExPhone.Text.Trim(),
					"','",
					this.tboxQq.Text.Trim(),
					"','",
					this.tboxMsn.Text.Trim(),
					"'"
				});
				if (!this._NoteRemoteObject.CommonQuery(aStrSql, ref array, ref str))
				{
					MessageBox.Show("用户扩展信息更新失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				}
				else
				{
					if (array[0, 0] == "T")
					{
						this.tboxemail.Text = "";
						this.cbbSex.SelectedIndex = -1;
						this.tboxPhone.Text = "";
						this.tboxExPhone.Text = "";
						this.tboxQq.Text = "";
						this.tboxMsn.Text = "";
						MessageBox.Show("用户扩展信息更新成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						this.GetUserListFromRemoteServer();
					}
					else
					{
						MessageBox.Show("用户扩展信息更新失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
				}
			}
		}
		private void btnSetAuto_Click(object sender, EventArgs e)
		{
			if (this.cbbAutoVsts.SelectedIndex <= -1)
			{
				MessageBox.Show("未选择自动生成日志标志！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.cbbAutoVsts.Focus();
			}
			else
			{
				if (this.listViewPurview.SelectedItems.Count == 1)
				{
					string text = this.listViewPurview.SelectedItems[0].Text;
					try
					{
						if (!this._NoteRemoteObject.ConnectionTest())
						{
							MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							return;
						}
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
					string[,] array = new string[0, 0];
					string str = "";
					if (!this._NoteRemoteObject.CommonQuery(string.Concat(new string[]
					{
						"exec usp_wn_setautoexportflag '",
						text,
						"','",
						this.cbbAutoVsts.SelectedIndex.ToString(),
						"'"
					}), ref array, ref str))
					{
						MessageBox.Show("自动生成日志标志修改失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					else
					{
						if (array[0, 0] == "T")
						{
							MessageBox.Show("自动生成日志标志修改成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							this.GetUserListFromRemoteServer();
						}
						else
						{
							MessageBox.Show("自动生成日志标志修改失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						}
					}
					this.cbbAutoVsts.SelectedIndex = -1;
				}
			}
		}
		private void btnUpDateShr_Click(object sender, EventArgs e)
		{
			if (this.cbbAllUsers.SelectedIndex <= -1)
			{
				MessageBox.Show("未选择日志审核者！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
				this.cbbAllUsers.Focus();
			}
			else
			{
				if (this.listViewPurview.SelectedItems.Count == 1)
				{
					string text = this.listViewPurview.SelectedItems[0].Text;
					try
					{
						if (!this._NoteRemoteObject.ConnectionTest())
						{
							MessageBox.Show("远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							return;
						}
					}
					catch (Exception ex)
					{
						MessageBox.Show(ex.Message + "远程连接已断开，请重新连接后再试！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						return;
					}
					string[,] array = new string[0, 0];
					string str = "";
					string text2 = this.cbbAllUsers.Items[this.cbbAllUsers.SelectedIndex].ToString();
					string text3 = text2.Substring(0, text2.IndexOf('-')).Trim();
					if (!this._NoteRemoteObject.CommonQuery(string.Concat(new string[]
					{
						"exec usp_wn_setnoteauditor '",
						text,
						"','",
						text3,
						"'"
					}), ref array, ref str))
					{
						MessageBox.Show("日志审核者修改失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
					}
					else
					{
						if (array[0, 0] == "T")
						{
							MessageBox.Show("日志审核者修改成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
							this.GetUserListFromRemoteServer();
						}
						else
						{
							MessageBox.Show("日志审核者修改失败!" + str, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
						}
					}
				}
			}
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			this.components = new Container();
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmPurviewMange));
			this.imageList = new ImageList(this.components);
			this.contextMenuStrip = new ContextMenuStrip(this.components);
			this.pmGroupByRyfl = new ToolStripMenuItem();
			this.pmGroupByJs = new ToolStripMenuItem();
			this.cbbPurviewID = new System.Windows.Forms.ComboBox();
			this.splitContainerControl1 = new SplitContainerControl();
			this.navBarControl = new NavBarControl();
			this.navBarGroup1 = new NavBarGroup();
			this.navBarGroupControlContainer1 = new NavBarGroupControlContainer();
			this.label1 = new Label();
			this.btnSetRole = new Button();
			this.cbbPurviewName = new System.Windows.Forms.ComboBox();
			this.navBarGroupControlContainer2 = new NavBarGroupControlContainer();
			this.btnChange = new Button();
			this.btnUserStop = new Button();
			this.navBarGroupControlContainer3 = new NavBarGroupControlContainer();
			this.btnChangeUserName = new Button();
			this.label2 = new Label();
			this.tboxnewname = new TextBox();
			this.navBarGroupControlContainer4 = new NavBarGroupControlContainer();
			this.label8 = new Label();
			this.tboxMsn = new TextBox();
			this.label11 = new Label();
			this.tboxQq = new TextBox();
			this.label12 = new Label();
			this.tboxExPhone = new TextBox();
			this.label13 = new Label();
			this.tboxPhone = new TextBox();
			this.label10 = new Label();
			this.cbbSex = new System.Windows.Forms.ComboBox();
			this.label9 = new Label();
			this.btnupdate = new Button();
			this.label4 = new Label();
			this.tboxemail = new TextBox();
			this.navBarGroupControlContainer5 = new NavBarGroupControlContainer();
			this.label3 = new Label();
			this.btnsetryfl = new Button();
			this.cbbrytype = new System.Windows.Forms.ComboBox();
			this.navBarGroupControlContainer6 = new NavBarGroupControlContainer();
			this.btnSetAuto = new Button();
			this.cbbAutoVsts = new System.Windows.Forms.ComboBox();
			this.navBarGroupControlContainer7 = new NavBarGroupControlContainer();
			this.cbbAllUsers = new System.Windows.Forms.ComboBox();
			this.label5 = new Label();
			this.btnUpDateShr = new Button();
			this.navBarGroup2 = new NavBarGroup();
			this.navBarGroup3 = new NavBarGroup();
			this.navBarGroup4 = new NavBarGroup();
			this.navBarGroup5 = new NavBarGroup();
			this.navBarGroup6 = new NavBarGroup();
			this.navBarGroup7 = new NavBarGroup();
			this.listViewPurview = new ListView();
			this.contextMenuStrip.SuspendLayout();
			((ISupportInitialize)this.splitContainerControl1).BeginInit();
			this.splitContainerControl1.SuspendLayout();
			((ISupportInitialize)this.navBarControl).BeginInit();
			this.navBarControl.SuspendLayout();
			this.navBarGroupControlContainer1.SuspendLayout();
			this.navBarGroupControlContainer2.SuspendLayout();
			this.navBarGroupControlContainer3.SuspendLayout();
			this.navBarGroupControlContainer4.SuspendLayout();
			this.navBarGroupControlContainer5.SuspendLayout();
			this.navBarGroupControlContainer6.SuspendLayout();
			this.navBarGroupControlContainer7.SuspendLayout();
			base.SuspendLayout();
			this.imageList.ImageStream = (ImageListStreamer)componentResourceManager.GetObject("imageList.ImageStream");
			this.imageList.TransparentColor = System.Drawing.Color.Transparent;
			this.imageList.Images.SetKeyName(0, "icon20.ico");
			this.contextMenuStrip.Items.AddRange(new ToolStripItem[]
			{
				this.pmGroupByRyfl,
				this.pmGroupByJs
			});
			this.contextMenuStrip.Name = "contextMenuStrip";
			this.contextMenuStrip.Size = new System.Drawing.Size(161, 48);
			this.pmGroupByRyfl.Name = "pmGroupByRyfl";
			this.pmGroupByRyfl.Size = new System.Drawing.Size(160, 22);
			this.pmGroupByRyfl.Text = "按人员分类分组";
			this.pmGroupByRyfl.Click += new EventHandler(this.pmGroupByRyfl_Click);
			this.pmGroupByJs.Checked = true;
			this.pmGroupByJs.CheckState = CheckState.Checked;
			this.pmGroupByJs.Name = "pmGroupByJs";
			this.pmGroupByJs.Size = new System.Drawing.Size(160, 22);
			this.pmGroupByJs.Text = "按角色分组";
			this.pmGroupByJs.Click += new EventHandler(this.pmGroupByJs_Click);
			this.cbbPurviewID.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
			this.cbbPurviewID.FormattingEnabled = true;
			this.cbbPurviewID.Items.AddRange(new object[]
			{
				"0",
				"1",
				"2",
				"3",
				"4"
			});
			this.cbbPurviewID.Location = new System.Drawing.Point(326, 104);
			this.cbbPurviewID.Name = "cbbPurviewID";
			this.cbbPurviewID.Size = new System.Drawing.Size(61, 20);
			this.cbbPurviewID.TabIndex = 10;
			this.cbbPurviewID.Visible = false;
			this.splitContainerControl1.Dock = DockStyle.Fill;
			this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
			this.splitContainerControl1.Name = "splitContainerControl1";
			this.splitContainerControl1.Panel1.Controls.Add(this.navBarControl);
			this.splitContainerControl1.Panel1.Text = "Panel1";
			this.splitContainerControl1.Panel2.Controls.Add(this.listViewPurview);
			this.splitContainerControl1.Panel2.Text = "Panel2";
			this.splitContainerControl1.Size = new System.Drawing.Size(639, 396);
			this.splitContainerControl1.SplitterPosition = 199;
			this.splitContainerControl1.TabIndex = 28;
			this.splitContainerControl1.Text = "splitContainerControl1";
			this.navBarControl.ActiveGroup = this.navBarGroup1;
			this.navBarControl.ContentButtonHint = null;
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer1);
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer2);
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer3);
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer4);
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer5);
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer6);
			this.navBarControl.Controls.Add(this.navBarGroupControlContainer7);
			this.navBarControl.Dock = DockStyle.Fill;
			this.navBarControl.Groups.AddRange(new NavBarGroup[]
			{
				this.navBarGroup1,
				this.navBarGroup2,
				this.navBarGroup3,
				this.navBarGroup4,
				this.navBarGroup5,
				this.navBarGroup6,
				this.navBarGroup7
			});
			this.navBarControl.Location = new System.Drawing.Point(0, 0);
			this.navBarControl.Name = "navBarControl";
			this.navBarControl.OptionsNavPane.ExpandedWidth = 190;
			this.navBarControl.Size = new System.Drawing.Size(195, 392);
			this.navBarControl.TabIndex = 27;
			this.navBarControl.Text = "navBarControl1";
			this.navBarGroup1.Caption = "设置角色";
			this.navBarGroup1.ControlContainer = this.navBarGroupControlContainer1;
			this.navBarGroup1.GroupClientHeight = 80;
			this.navBarGroup1.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup1.Name = "navBarGroup1";
			this.navBarGroupControlContainer1.Controls.Add(this.label1);
			this.navBarGroupControlContainer1.Controls.Add(this.btnSetRole);
			this.navBarGroupControlContainer1.Controls.Add(this.cbbPurviewName);
			this.navBarGroupControlContainer1.Name = "navBarGroupControlContainer1";
			this.navBarGroupControlContainer1.Size = new System.Drawing.Size(191, 78);
			this.navBarGroupControlContainer1.TabIndex = 0;
			this.label1.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
			this.label1.AutoSize = true;
			this.label1.BackColor = System.Drawing.Color.Transparent;
			this.label1.Location = new System.Drawing.Point(9, 13);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(41, 12);
			this.label1.TabIndex = 22;
			this.label1.Text = "角  色";
			this.btnSetRole.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.btnSetRole.Enabled = false;
			this.btnSetRole.Location = new System.Drawing.Point(11, 45);
			this.btnSetRole.Name = "btnSetRole";
			this.btnSetRole.Size = new System.Drawing.Size(167, 23);
			this.btnSetRole.TabIndex = 16;
			this.btnSetRole.Text = "设置角色(&S)";
			this.btnSetRole.UseVisualStyleBackColor = true;
			this.btnSetRole.Click += new EventHandler(this.btnSet_Click);
			this.cbbPurviewName.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.cbbPurviewName.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cbbPurviewName.FormattingEnabled = true;
			this.cbbPurviewName.Items.AddRange(new object[]
			{
				"超级用户",
				"组管理员",
				"一般用户",
				"日志特别管理员",
				"部门经理"
			});
			this.cbbPurviewName.Location = new System.Drawing.Point(51, 10);
			this.cbbPurviewName.Name = "cbbPurviewName";
			this.cbbPurviewName.Size = new System.Drawing.Size(127, 20);
			this.cbbPurviewName.TabIndex = 15;
			this.navBarGroupControlContainer2.Controls.Add(this.btnChange);
			this.navBarGroupControlContainer2.Controls.Add(this.btnUserStop);
			this.navBarGroupControlContainer2.Name = "navBarGroupControlContainer2";
			this.navBarGroupControlContainer2.Size = new System.Drawing.Size(191, 78);
			this.navBarGroupControlContainer2.TabIndex = 1;
			this.btnChange.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.btnChange.Enabled = false;
			this.btnChange.Location = new System.Drawing.Point(11, 46);
			this.btnChange.Name = "btnChange";
			this.btnChange.Size = new System.Drawing.Size(168, 23);
			this.btnChange.TabIndex = 17;
			this.btnChange.Text = "用户转组(&Z)";
			this.btnChange.UseVisualStyleBackColor = true;
			this.btnChange.Click += new EventHandler(this.btnChange_Click);
			this.btnUserStop.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.btnUserStop.Enabled = false;
			this.btnUserStop.Location = new System.Drawing.Point(11, 11);
			this.btnUserStop.Name = "btnUserStop";
			this.btnUserStop.Size = new System.Drawing.Size(168, 23);
			this.btnUserStop.TabIndex = 15;
			this.btnUserStop.Text = "停用此用户(&T)";
			this.btnUserStop.UseVisualStyleBackColor = true;
			this.btnUserStop.Click += new EventHandler(this.btnUserStop_Click);
			this.navBarGroupControlContainer3.Controls.Add(this.btnChangeUserName);
			this.navBarGroupControlContainer3.Controls.Add(this.label2);
			this.navBarGroupControlContainer3.Controls.Add(this.tboxnewname);
			this.navBarGroupControlContainer3.Name = "navBarGroupControlContainer3";
			this.navBarGroupControlContainer3.Size = new System.Drawing.Size(191, 78);
			this.navBarGroupControlContainer3.TabIndex = 2;
			this.btnChangeUserName.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.btnChangeUserName.Enabled = false;
			this.btnChangeUserName.Location = new System.Drawing.Point(11, 44);
			this.btnChangeUserName.Name = "btnChangeUserName";
			this.btnChangeUserName.Size = new System.Drawing.Size(166, 23);
			this.btnChangeUserName.TabIndex = 22;
			this.btnChangeUserName.Text = "用户改名(&G)";
			this.btnChangeUserName.UseVisualStyleBackColor = true;
			this.btnChangeUserName.Click += new EventHandler(this.btnchangename_Click);
			this.label2.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
			this.label2.AutoSize = true;
			this.label2.BackColor = System.Drawing.Color.Transparent;
			this.label2.Location = new System.Drawing.Point(16, 16);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(41, 12);
			this.label2.TabIndex = 21;
			this.label2.Text = "新名称";
			this.tboxnewname.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.tboxnewname.Location = new System.Drawing.Point(61, 12);
			this.tboxnewname.Name = "tboxnewname";
			this.tboxnewname.Size = new System.Drawing.Size(116, 21);
			this.tboxnewname.TabIndex = 20;
			this.navBarGroupControlContainer4.Controls.Add(this.label8);
			this.navBarGroupControlContainer4.Controls.Add(this.tboxMsn);
			this.navBarGroupControlContainer4.Controls.Add(this.label11);
			this.navBarGroupControlContainer4.Controls.Add(this.tboxQq);
			this.navBarGroupControlContainer4.Controls.Add(this.label12);
			this.navBarGroupControlContainer4.Controls.Add(this.tboxExPhone);
			this.navBarGroupControlContainer4.Controls.Add(this.label13);
			this.navBarGroupControlContainer4.Controls.Add(this.tboxPhone);
			this.navBarGroupControlContainer4.Controls.Add(this.label10);
			this.navBarGroupControlContainer4.Controls.Add(this.cbbSex);
			this.navBarGroupControlContainer4.Controls.Add(this.label9);
			this.navBarGroupControlContainer4.Controls.Add(this.btnupdate);
			this.navBarGroupControlContainer4.Controls.Add(this.label4);
			this.navBarGroupControlContainer4.Controls.Add(this.tboxemail);
			this.navBarGroupControlContainer4.Name = "navBarGroupControlContainer4";
			this.navBarGroupControlContainer4.Size = new System.Drawing.Size(191, 202);
			this.navBarGroupControlContainer4.TabIndex = 3;
			this.label8.AutoSize = true;
			this.label8.BackColor = System.Drawing.Color.Transparent;
			this.label8.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label8.ForeColor = System.Drawing.Color.Black;
			this.label8.Location = new System.Drawing.Point(90, 17);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(95, 12);
			this.label8.TabIndex = 56;
			this.label8.Text = "@winning.com.cn";
			this.tboxMsn.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.tboxMsn.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxMsn.Location = new System.Drawing.Point(45, 149);
			this.tboxMsn.Name = "tboxMsn";
			this.tboxMsn.Size = new System.Drawing.Size(139, 21);
			this.tboxMsn.TabIndex = 54;
			this.label11.AutoSize = true;
			this.label11.BackColor = System.Drawing.Color.Transparent;
			this.label11.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label11.ForeColor = System.Drawing.Color.Black;
			this.label11.Location = new System.Drawing.Point(8, 150);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(23, 12);
			this.label11.TabIndex = 55;
			this.label11.Text = "MSN";
			this.tboxQq.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.tboxQq.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxQq.Location = new System.Drawing.Point(45, 123);
			this.tboxQq.Name = "tboxQq";
			this.tboxQq.Size = new System.Drawing.Size(139, 21);
			this.tboxQq.TabIndex = 52;
			this.label12.AutoSize = true;
			this.label12.BackColor = System.Drawing.Color.Transparent;
			this.label12.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label12.ForeColor = System.Drawing.Color.Black;
			this.label12.Location = new System.Drawing.Point(8, 124);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(17, 12);
			this.label12.TabIndex = 53;
			this.label12.Text = "QQ";
			this.tboxExPhone.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.tboxExPhone.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxExPhone.Location = new System.Drawing.Point(45, 96);
			this.tboxExPhone.Name = "tboxExPhone";
			this.tboxExPhone.Size = new System.Drawing.Size(139, 21);
			this.tboxExPhone.TabIndex = 50;
			this.label13.AutoSize = true;
			this.label13.BackColor = System.Drawing.Color.Transparent;
			this.label13.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label13.ForeColor = System.Drawing.Color.Black;
			this.label13.Location = new System.Drawing.Point(8, 97);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(29, 12);
			this.label13.TabIndex = 51;
			this.label13.Text = "分机";
			this.tboxPhone.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.tboxPhone.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.tboxPhone.Location = new System.Drawing.Point(45, 69);
			this.tboxPhone.Name = "tboxPhone";
			this.tboxPhone.Size = new System.Drawing.Size(139, 21);
			this.tboxPhone.TabIndex = 44;
			this.label10.AutoSize = true;
			this.label10.BackColor = System.Drawing.Color.Transparent;
			this.label10.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label10.ForeColor = System.Drawing.Color.Black;
			this.label10.Location = new System.Drawing.Point(8, 70);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(29, 12);
			this.label10.TabIndex = 45;
			this.label10.Text = "手机";
			this.cbbSex.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.cbbSex.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cbbSex.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.cbbSex.FormattingEnabled = true;
			this.cbbSex.Items.AddRange(new object[]
			{
				"男",
				"女"
			});
			this.cbbSex.Location = new System.Drawing.Point(45, 41);
			this.cbbSex.Name = "cbbSex";
			this.cbbSex.Size = new System.Drawing.Size(139, 22);
			this.cbbSex.TabIndex = 43;
			this.label9.AutoSize = true;
			this.label9.BackColor = System.Drawing.Color.Transparent;
			this.label9.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label9.ForeColor = System.Drawing.Color.Black;
			this.label9.Location = new System.Drawing.Point(8, 44);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(29, 12);
			this.label9.TabIndex = 42;
			this.label9.Text = "性别";
			this.btnupdate.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.btnupdate.Enabled = false;
			this.btnupdate.Location = new System.Drawing.Point(10, 176);
			this.btnupdate.Name = "btnupdate";
			this.btnupdate.Size = new System.Drawing.Size(174, 23);
			this.btnupdate.TabIndex = 27;
			this.btnupdate.Text = "更新扩展信息(&U)";
			this.btnupdate.UseVisualStyleBackColor = true;
			this.btnupdate.Click += new EventHandler(this.btnupdate_Click);
			this.label4.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
			this.label4.AutoSize = true;
			this.label4.BackColor = System.Drawing.Color.Transparent;
			this.label4.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label4.ForeColor = System.Drawing.Color.Black;
			this.label4.Location = new System.Drawing.Point(8, 17);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(29, 12);
			this.label4.TabIndex = 26;
			this.label4.Text = "邮件";
			this.tboxemail.Location = new System.Drawing.Point(45, 14);
			this.tboxemail.Name = "tboxemail";
			this.tboxemail.Size = new System.Drawing.Size(44, 21);
			this.tboxemail.TabIndex = 25;
			this.navBarGroupControlContainer5.Controls.Add(this.label3);
			this.navBarGroupControlContainer5.Controls.Add(this.btnsetryfl);
			this.navBarGroupControlContainer5.Controls.Add(this.cbbrytype);
			this.navBarGroupControlContainer5.Name = "navBarGroupControlContainer5";
			this.navBarGroupControlContainer5.Size = new System.Drawing.Size(191, 78);
			this.navBarGroupControlContainer5.TabIndex = 4;
			this.label3.Anchor = (AnchorStyles.Bottom | AnchorStyles.Left);
			this.label3.AutoSize = true;
			this.label3.BackColor = System.Drawing.Color.Transparent;
			this.label3.Location = new System.Drawing.Point(11, 18);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(53, 12);
			this.label3.TabIndex = 25;
			this.label3.Text = "人员分类";
			this.btnsetryfl.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.btnsetryfl.Enabled = false;
			this.btnsetryfl.Location = new System.Drawing.Point(13, 47);
			this.btnsetryfl.Name = "btnsetryfl";
			this.btnsetryfl.Size = new System.Drawing.Size(166, 23);
			this.btnsetryfl.TabIndex = 24;
			this.btnsetryfl.Text = "设置人员分类(&T)";
			this.btnsetryfl.UseVisualStyleBackColor = true;
			this.btnsetryfl.Click += new EventHandler(this.btnsetryfl_Click);
			this.cbbrytype.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.cbbrytype.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cbbrytype.FormattingEnabled = true;
			this.cbbrytype.Items.AddRange(new object[]
			{
				"普通开发人员",
				"管理人员"
			});
			this.cbbrytype.Location = new System.Drawing.Point(67, 14);
			this.cbbrytype.Name = "cbbrytype";
			this.cbbrytype.Size = new System.Drawing.Size(111, 20);
			this.cbbrytype.TabIndex = 23;
			this.navBarGroupControlContainer6.Controls.Add(this.btnSetAuto);
			this.navBarGroupControlContainer6.Controls.Add(this.cbbAutoVsts);
			this.navBarGroupControlContainer6.Name = "navBarGroupControlContainer6";
			this.navBarGroupControlContainer6.Size = new System.Drawing.Size(191, 78);
			this.navBarGroupControlContainer6.TabIndex = 5;
			this.btnSetAuto.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.btnSetAuto.Enabled = false;
			this.btnSetAuto.Location = new System.Drawing.Point(13, 44);
			this.btnSetAuto.Name = "btnSetAuto";
			this.btnSetAuto.Size = new System.Drawing.Size(166, 23);
			this.btnSetAuto.TabIndex = 27;
			this.btnSetAuto.Text = "设置自动生成标志";
			this.btnSetAuto.UseVisualStyleBackColor = true;
			this.btnSetAuto.Click += new EventHandler(this.btnSetAuto_Click);
			this.cbbAutoVsts.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.cbbAutoVsts.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cbbAutoVsts.FormattingEnabled = true;
			this.cbbAutoVsts.Items.AddRange(new object[]
			{
				"自动生成",
				"不自动生成"
			});
			this.cbbAutoVsts.Location = new System.Drawing.Point(13, 11);
			this.cbbAutoVsts.Name = "cbbAutoVsts";
			this.cbbAutoVsts.Size = new System.Drawing.Size(165, 20);
			this.cbbAutoVsts.TabIndex = 26;
			this.navBarGroupControlContainer7.Controls.Add(this.cbbAllUsers);
			this.navBarGroupControlContainer7.Controls.Add(this.label5);
			this.navBarGroupControlContainer7.Controls.Add(this.btnUpDateShr);
			this.navBarGroupControlContainer7.Name = "navBarGroupControlContainer7";
			this.navBarGroupControlContainer7.Size = new System.Drawing.Size(191, 78);
			this.navBarGroupControlContainer7.TabIndex = 6;
			this.cbbAllUsers.Anchor = (AnchorStyles.Left | AnchorStyles.Right);
			this.cbbAllUsers.DropDownStyle = ComboBoxStyle.DropDownList;
			this.cbbAllUsers.FormattingEnabled = true;
			this.cbbAllUsers.Items.AddRange(new object[]
			{
				"普通开发人员",
				"管理人员"
			});
			this.cbbAllUsers.Location = new System.Drawing.Point(42, 12);
			this.cbbAllUsers.Name = "cbbAllUsers";
			this.cbbAllUsers.Size = new System.Drawing.Size(141, 20);
			this.cbbAllUsers.TabIndex = 59;
			this.label5.AutoSize = true;
			this.label5.BackColor = System.Drawing.Color.Transparent;
			this.label5.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
			this.label5.ForeColor = System.Drawing.Color.Black;
			this.label5.Location = new System.Drawing.Point(7, 15);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(29, 12);
			this.label5.TabIndex = 58;
			this.label5.Text = "用户";
			this.btnUpDateShr.Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
			this.btnUpDateShr.Location = new System.Drawing.Point(9, 41);
			this.btnUpDateShr.Name = "btnUpDateShr";
			this.btnUpDateShr.Size = new System.Drawing.Size(174, 23);
			this.btnUpDateShr.TabIndex = 56;
			this.btnUpDateShr.Text = "设置日志审核者";
			this.btnUpDateShr.UseVisualStyleBackColor = true;
			this.btnUpDateShr.Click += new EventHandler(this.btnUpDateShr_Click);
			this.navBarGroup2.Caption = "用户停用及转组";
			this.navBarGroup2.ControlContainer = this.navBarGroupControlContainer2;
			this.navBarGroup2.GroupClientHeight = 80;
			this.navBarGroup2.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup2.Name = "navBarGroup2";
			this.navBarGroup3.Caption = "用户改名";
			this.navBarGroup3.ControlContainer = this.navBarGroupControlContainer3;
			this.navBarGroup3.GroupClientHeight = 80;
			this.navBarGroup3.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup3.Name = "navBarGroup3";
			this.navBarGroup4.Caption = "扩展信息维护";
			this.navBarGroup4.ControlContainer = this.navBarGroupControlContainer4;
			this.navBarGroup4.GroupClientHeight = 204;
			this.navBarGroup4.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup4.Name = "navBarGroup4";
			this.navBarGroup5.Caption = "设置人员分类";
			this.navBarGroup5.ControlContainer = this.navBarGroupControlContainer5;
			this.navBarGroup5.GroupClientHeight = 80;
			this.navBarGroup5.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup5.Name = "navBarGroup5";
			this.navBarGroup6.Caption = "设置是否自动生成VSTS日志";
			this.navBarGroup6.ControlContainer = this.navBarGroupControlContainer6;
			this.navBarGroup6.GroupClientHeight = 80;
			this.navBarGroup6.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup6.Name = "navBarGroup6";
			this.navBarGroup7.Caption = "设置日志审核者";
			this.navBarGroup7.ControlContainer = this.navBarGroupControlContainer7;
			this.navBarGroup7.GroupClientHeight = 80;
			this.navBarGroup7.GroupStyle = NavBarGroupStyle.ControlContainer;
			this.navBarGroup7.Name = "navBarGroup7";
			this.listViewPurview.ContextMenuStrip = this.contextMenuStrip;
			this.listViewPurview.Dock = DockStyle.Fill;
			this.listViewPurview.FullRowSelect = true;
			this.listViewPurview.GridLines = true;
			this.listViewPurview.HideSelection = false;
			this.listViewPurview.Location = new System.Drawing.Point(0, 0);
			this.listViewPurview.MultiSelect = false;
			this.listViewPurview.Name = "listViewPurview";
			this.listViewPurview.Size = new System.Drawing.Size(430, 392);
			this.listViewPurview.SmallImageList = this.imageList;
			this.listViewPurview.TabIndex = 8;
			this.listViewPurview.TabStop = false;
			this.listViewPurview.UseCompatibleStateImageBehavior = false;
			this.listViewPurview.View = View.Details;
			this.listViewPurview.SelectedIndexChanged += new EventHandler(this.listViewPurview_SelectedIndexChanged);
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new System.Drawing.Size(639, 396);
			base.Controls.Add(this.splitContainerControl1);
			base.Controls.Add(this.cbbPurviewID);
			base.Name = "FrmPurviewMange";
			base.ShowInTaskbar = false;
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = "用户基本信息维护";
			base.WindowState = FormWindowState.Maximized;
			base.Load += new EventHandler(this.FrmPurviewMange_Load);
			this.contextMenuStrip.ResumeLayout(false);
			((ISupportInitialize)this.splitContainerControl1).EndInit();
			this.splitContainerControl1.ResumeLayout(false);
			((ISupportInitialize)this.navBarControl).EndInit();
			this.navBarControl.ResumeLayout(false);
			this.navBarGroupControlContainer1.ResumeLayout(false);
			this.navBarGroupControlContainer1.PerformLayout();
			this.navBarGroupControlContainer2.ResumeLayout(false);
			this.navBarGroupControlContainer3.ResumeLayout(false);
			this.navBarGroupControlContainer3.PerformLayout();
			this.navBarGroupControlContainer4.ResumeLayout(false);
			this.navBarGroupControlContainer4.PerformLayout();
			this.navBarGroupControlContainer5.ResumeLayout(false);
			this.navBarGroupControlContainer5.PerformLayout();
			this.navBarGroupControlContainer6.ResumeLayout(false);
			this.navBarGroupControlContainer7.ResumeLayout(false);
			this.navBarGroupControlContainer7.PerformLayout();
			base.ResumeLayout(false);
		}
	}
}
